<template>
  <div class="topicList">
    <h3>专题精选</h3>
    <van-swipe :loop="false" :width="300" :show-indicators='false'>
      <van-swipe-item v-for="item in topicList" :key="item.id">
        <img :src="item.item_pic_url" alt="" />
        <p>{{item.title}}</p>

      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  name: "topicList",
  props: ["topicList"],
  data() {
    return {
      current: 0,
    };
  },

  components: {},

  computed: {},

  created() {},

  mounted() {},

  methods: {},
};
</script>
<style lang='less' scoped>
.topicList {
    img{
        width: 100%;
        height: 200px;
        display: block;
    }
}
</style>